#ifndef __LED_H_
#define __LED_H_
#include <REGX52.H>

#define led P1

sbit led1 = P1^0;
sbit led2 = P1^1;
sbit led3 = P1^2;
sbit led4 = P1^3;
sbit led5 = P1^4;
sbit led6 = P1^5;
sbit led7 = P1^6;
sbit led8 = P1^7;

void open_Led(char led_Num);
void close_Led(char led_Num);
void auto_Led(char led_Num,char ena);

#endif